package org.dromara.third.auth.vo;

import lombok.Data;

/**
 * 入参VO
 *
 * @author admin
 * @date 2020/7/13 16:11
 */
@Data
public class TokenRequest {

    /**
     * 固定值 ：client_credential
     */
    private String grantType;

    /**
     * 用户唯一凭证，由平台分配
     */
    private String appId;

    /**
     * 时间戳，精确到毫秒
     */
    private String timestamp;

    /**
     * 签名
     */
    private String digest;

    @Override
    public String toString() {
        return "grantType=" + this.grantType + "&appId=" + this.appId + "&timestamp=" + timestamp;
    }

}
